import base from "../config/baseConfig";


const Core  = {
    login(user){
        return base({
            method:'post',
            data:user,
            url:'/login'
        })
    },
    register(user){
        return base({
            method:'post',
            data:user,
            url:'/core/register'
        })
    },
}

export default Core;